home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Tetris Light 1.0 / source / alert.h < prev    next >
Text File  |  1993-07-18  |  1KB  |  40 lines

  1. /**********************************************************************\
  2.  
  3. File:        alert.h
  4.  
  5. Purpose:    This module provides routines to display various messages
  6.             to the user in alerts.
  7.             
  8.  
  9. ``Tetris Light'' - a simple implementation of a Tetris game.
  10. Copyright (C) 1993 Hoylen Sue
  11.  
  12. This program is free software; you can redistribute it and/or modify
  13. it under the terms of the GNU General Public License as published by
  14. the Free Software Foundation; either version 2 of the License, or
  15. (at your option) any later version.
  16.  
  17. This program is distributed in the hope that it will be useful,
  18. but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20. GNU General Public License for more details.
  21.  
  22. You should have received a copy of the GNU General Public License
  23. along with this program; see the file COPYING.  If not, write to the
  24. Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  25.  
  26. \**********************************************************************/
  27.  
  28. #ifndef alert_H
  29. #define alert_H
  30.  
  31. /*--------------------------------------------------------------------*/
  32.  
  33. extern void alert_caution(INTEGER msg_id);
  34. extern void alert_erc(INTEGER msg_id, OSErr err);
  35. extern void alert_fatal(INTEGER msg_id);
  36.  
  37. /*--------------------------------------------------------------------*/
  38.  
  39. #endif
  40.